$(document).ready(function(){
    var fanChatList = new Vue({
        el: "#fanChatList",
        data: {
            chatRecord: '',
            fansHeadImg: fansHeadImg,
            kfHeadImg: '/static/images/jimi.jpg',
            nikeName: nikeName 
        },
        created: function(){
            var that = this
            fansChat(function(res){
                res[0].forEach(function(item){
                    item.time = changeTime(item.time)
                });
                that.chatRecord = res[0];
                console.log(that.chatRecord)
                
            })
        }
    })
})